package com.uyayo.cms.service;

import com.uyayo.cms.entity.CmsSite;
import com.uyayo.cms.model.CmsSiteCondition;
import com.uyayo.framework.pagehelper.pojo.PageBean;

import java.util.List;

public interface CmsSiteService {


	CmsSite getSiteById(Long id) throws Exception;

	List<CmsSite> selectSite(CmsSiteCondition cmsSiteCondition);

	PageBean<CmsSite> selectSiteByPaging(Integer page, Integer rows, String sort, String order, CmsSiteCondition cmsSiteCondition);

	int createCmsSite(CmsSite cmsSite);

	CmsSite getSiteByUpdateTestOnly(String code);

	public CmsSite selectOne(CmsSite cmsSite);

	int updateSite(CmsSite cmsSite);

	int deleteSite(Integer id);

}
